﻿<%
'注册插件
Call RegisterPlugin("UEParagraph","ActivePlugin_UEParagraph")
'挂口部分
Function ActivePlugin_UEParagraph()

	Call Add_Filter_Plugin("Filter_Plugin_UEditor_Config","UEParagraph_ExportUEConfig")

End Function


Function InstallPlugin_UEParagraph()

End Function

Function UnInstallPlugin_UEParagraph()

End Function

Function UEParagraph_ExportUEConfig(m)
	Dim j,k,tmp
	j=Split(m,"toolbars:")(0)
	k=Split(m,",maximumWords:")(1)
	tmp="[ [ 'source', '|', 'undo', 'redo', '|', 'bold', 'italic', 'underline', 'strikethrough', 'superscript', 'subscript','forecolor', 'backcolor', '|', 'insertorderedlist', 'insertunorderedlist','indent', 'justifyleft', 'justifycenter', 'justifyright','|', 'removeformat','formatmatch','autotypeset', 'searchreplace'],[ 'paragraph', 'fontfamily', 'fontsize','|', 'emotion','link','music','insertimage','scrawl','insertvideo', 'attachment','spechars','|', 'map', 'gmap','|', "&IIf(ZC_SYNTAXHIGHLIGHTER_ENABLE,"'insertcode',","")&"'blockquote', 'pasteplain','wordimage','inserttable', 'horizontal','fullscreen']]"
	m=j&"toolbars:"&tmp&",maximumWords:"&k
End Function
%>